﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AplicacionMVC.VehiculoWS.Vehiculo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Sistema de Instalaciones
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2> Creación</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Campos</legend>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Clase) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Clase) %>
                <%: Html.ValidationMessageFor(model => model.Clase) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Color) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Color) %>
                <%: Html.ValidationMessageFor(model => model.Color) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Fecha_registro) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Fecha_registro) %>
                <%: Html.ValidationMessageFor(model => model.Fecha_registro) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Id_vehiculo) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Id_vehiculo) %>
                <%: Html.ValidationMessageFor(model => model.Id_vehiculo) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Marca) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Marca) %>
                <%: Html.ValidationMessageFor(model => model.Marca) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Modelo) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Modelo) %>
                <%: Html.ValidationMessageFor(model => model.Modelo) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Placa) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Placa) %>
                <%: Html.ValidationMessageFor(model => model.Placa) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.anio_vehiculo) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.anio_vehiculo) %>
                <%: Html.ValidationMessageFor(model => model.anio_vehiculo) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.combustible) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.combustible) %>
                <%: Html.ValidationMessageFor(model => model.combustible) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.nro_ejes) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.nro_ejes) %>
                <%: Html.ValidationMessageFor(model => model.nro_ejes) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.nro_motor) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.nro_motor) %>
                <%: Html.ValidationMessageFor(model => model.nro_motor) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.nro_puertas) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.nro_puertas) %>
                <%: Html.ValidationMessageFor(model => model.nro_puertas) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.nro_ruedas) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.nro_ruedas) %>
                <%: Html.ValidationMessageFor(model => model.nro_ruedas) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.nro_serie) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.nro_serie) %>
                <%: Html.ValidationMessageFor(model => model.nro_serie) %>
            </div>
            
            <p>
                <input type="submit" value="Crear" />
            </p>
        </fieldset>

    <% } %>

    

</asp:Content>

